package software;

class AdditionOperation extends BinaryOperation{
	AdditionOperation(){
		generateBinaryOperation('+');
	}
	
	AdditionOperation(int left,int right){
		SetBinaryOperation(left,right,'+');
	}
	
	int calculate(int left, int right) {
		return left+right;
	}
	boolean checkingCalculation(int anInteger) {
		return anInteger<=UPPER;
	}
	
}